package token

import "go.uber.org/zap"

// ensure implements
var _ TokenService = (*tokenService)(nil)

func NewTokenService(logger zap.Logger) *tokenService {
	return &tokenService{
		logger: logger,
	}
}

type tokenService struct {
	logger zap.Logger
}

func (s tokenService) GetToken(token Token) Resp {

	return Resp{
		AccessToken:      "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJZQmdOZjAtQVdud29ldS13QmJKeURoSVdIVWtOM3Qz\nSkxGb21nZnVZNzRjIn0.eyJqdGkiOiI5M2QxNDdiYi1mODA1LTQ2ZTItYmVlYi1lODg4NGE3ZTUwNmMiLCJleHAi\nOjE1Nzg3MTIwMzUsIm5iZiI6MCwiaWF0IjoxNTc4NzEwMjM1LCJpc3MiOiJodHRwczovLzEwMC45NS4xNDAuM\nTU4L2F1dGgvcmVhbG1zL0NDRSIsImF1ZCI6WyJyZWFsbS1tYW5hZ2VtZW50IiwiYWNjb3VudCJdLCJzdWIiOiJm\nYzliNGE3NS0wZTRjLTRmNmMtOWRjYy1mODNlY2NjNzE0NjQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJjY2UtY2xpZ\nW50IiwiYXV0aF90aW1lIjowLCJzZXNzaW9uX3N0YXRlIjoiYWMzOGUzOTQtOTcwNi00NGU5LWFlMjQtZTZkNTk\n1MzYzYWYxIiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJjbHVzdGVyX2FkbWluIiwic3lzdGVtX2Fkb\nWluIiwiYmFzaWNfdXNlciJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOls\nidmlldy1yZWFsbSIsInZpZXctaWRlbnRpdHktcHJvdmlkZXJzIiwibWFuYWdlLWlkZW50aXR5LXByb3ZpZGVycyIsIm\nltcGVyc29uYXRpb24iLCJyZWFsbS1hZG1pbiIsImNyZWF0ZS1jbGllbnQiLCJtYW5hZ2UtdXNlcnMiLCJxdWVyeS1yZ\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In:        1800,
		RefreshExpiresIn: 3600,
		RefreshToken:     "",
		TokenType:        "bearer",
		IdToken:          "121212123123",
		NotBeforePolicy:  "0",
		SessionState:     "ac38e394-9706-44e9-ae24-e6d595363af1",
	}
}
